﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="view.aspx.cs" Inherits="manager_taskaudit_view" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>验收任务</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <section class="content-header">
        <h1>任务相关
            <small>任务详情</small>
        </h1>
        <ol class="breadcrumb">
            <li><a><i class="fa fa-dashboard"></i>主页</a></li>
            <li><a href="userManager.aspx">任务相关</a></li>
            <li class="active">任务详情</li>
        </ol>
    </section>

    <section class="content">
        <div class="box box-primary">
            <div class="box-body">
                <table class="table table-bordered">
                    <tr>
                        <td style="vertical-align: middle">任务发布</td>
                        <td>
                            <input type="text" id="txt_fb_username" class="form-control" readonly="readonly" runat="server" /></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">任务标题</td>
                        <td>
                            <input type="text" id="txt_title" class="form-control" runat="server" readonly="readonly" /></td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">任务描述</td>
                        <td>
                            <textarea class="form-control" style="height: 100px;" id="txt_ms" runat="server" readonly="readonly"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">开始日期</td>
                        <td>
                            <input type="text" id="txt_rq_start" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">截止日期</td>
                        <td>
                            <input type="text" id="txt_rq_yjs" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">完成日期</td>
                        <td>
                            <input type="text" id="txt_rq_sjs" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">验收岗位</td>
                        <td>

                            <input type="text" id="ys_psid_mc" class="form-control" readonly="readonly" runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td class="col-sm-1" style="vertical-align: middle">岗位考评</td>
                        <td>
                            <input type="text" id="eval_ps_mc" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">主管考评</td>
                        <td>
                            <input type="text" id="eval_parps_mc" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">部门考评</td>
                        <td>
                            <input type="text" id="eval_deptps_mc" class="form-control" runat="server" readonly="readonly" />
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">完成备注</td>
                        <td>
                            <textarea class="form-control" style="height: 100px;" id="txt_bz_js" placeholder="任务完成的时候想对任务发布人和审核人说点什么呢。。。此处仅对完成任务时填写有效" runat="server" readonly="readonly"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td>状态</td>
                        <td>
                            <input type="text" id="ddlIsUsing" class="form-control" runat="server" readonly="readonly" style="color: red" />
                        </td>
                    </tr>
                    <tr>
                        <td>任务得分</td>
                        <td>
                            <asp:DropDownList ID="ddl_point_temp" CssClass="form-control" runat="server"></asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="vertical-align: middle">验收备注备注</td>
                        <td>
                            <textarea class="form-control" style="height: 100px;" id="txt_bz_ys" placeholder="任务审核时想对任务执行者说点什么呢。。。此处仅对审核任务时填写有效" runat="server"></textarea>
                        </td>
                    </tr>
                </table>
            </div>
            <div class="box-footer">
                <a href="Default.aspx" class="btn btn-warning">返回</a>
                <asp:Button ID="Button1" runat="server" class="btn btn-primary pull-right" Text="任务审核" OnClientClick="return StartTask()" OnClick="Button1_Click" />
            </div>
        </div>
        <div style="display: none;">
            <input type="text" id="Edit_Id" runat="server" value="0" />
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="Server">
    <script>
        function StartTask() {
            var ddl_point_temp = $('#ContentPlaceHolder_ddl_point_temp').val();

            var isRe = confirm("此任务最后得分为：" + ddl_point_temp + "分，操作无法撤销！\n\n您确认分值选择正确并且继续验收此任务吗？");
            return isRe;
        }
    </script>

</asp:Content>


